﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace OpenRiaServices.Issue92.Web.Models
{
    [Table("ChildEntities")]
    public partial class ChildEntity
    {
        public int Id { get; set; }

        [Required]
        public string Name { get; set; }

        public int ParentEntityId { get; set; }

        public virtual ParentEntity ParentEntity { get; set; }
    }
}
